<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!--360浏览器优先以webkit内核解析-->


    <title>网点管理</title>

    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
    <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">

    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
       <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <style>
        .row{margin:0;padding: 0}
        .btn{margin:0 10px;}
        .aprovalSystemTable thead th{text-align: center;}
    </style>

</head>

<body class="white-bg">
    <div class="row white-bg setRemindPeopleK">
       <div class="row white-bg">
        <div class="col-md-12 padding_lr H_title" style="background: #d0e0e0;line-height: 40px;text-align: center;font-size:18px">
            <div class="col-md-12 ">请选择网点对应的系统</div>
        </div>
    </div>
   <form action="" class="form-group">
           <table class="table table-bordered white-bg">
            <tr>
            <td style="text-align: right;"><label for="Name">系统编号：</label></td>
            <td><input type="text" class="form-control inputremindPeple" id="Name" name="Name"></td>
             <td style="text-align: right;"><label for="Name">系统名称：</label></td>
            <td><input type="text" class="form-control inputremindPeple" id="Name" name="Name"></td>
              <td colspan="2"><button class="btn btn-info">查询</button> <button class="btn btn-info emtyif">清空查询条件</button></td>
            </tr>
      </table>
   </form>
      <form action="">
			 <table class="table table-bordered table-hover text-center aprovalSystemTable">
                <thead>
                    <tr>
                        <th>No.</th>
                        <th>系统编号</th>
                        <th>系统名称</th>
                        <th>选择</th>
                    </tr>
                </thead>
                <tbody>
                <tr>
					<td class="NoId">1</td>
					<td>700000</td>
					<td><a href="javascript" class="netName">南京家乐福</a></td>
					<td><a href="javascript:;" class="change_this">选择</a></td>
                </tr>
                 <tr>
                    <td class="NoId">2</td>
                    <td>700000</td>
                    <td><a href="javascript" class="netName">南京家乐福</a></td>
                    <td><a href="javascript:;" class="change_this">选择</a></td>
                </tr>
                  <tr>
                    <td class="NoId">3</td>
                    <td>700000</td>
                    <td><a href="javascript" class="netName">南京家乐福</a></td>
                    <td><a href="javascript:;" class="change_this">选择</a></td>
                <tr>
                    <td class="NoId">4</td>
                    <td>700000</td>
                    <td><a href="javascript" class="netName">南京家乐福</a></td>
                    <td><a href="javascript:;" class="change_this">选择</a></td>
                </tr>
                </tbody>
        </table>
      </form>
    </div>
    </script>

    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
    <script>
          $(document).ready(function(){
             $(".addAprolvalWarn").click(function() {
                layer.open({
                    type: 2,
                    title: '&nbsp;',
                    shadeClose: true,
                    shade: false,
                    maxmin: true, //开启最大化最小化按钮
                    area: ['800px', '600px'],
                    content: 'http://localhost/xiaolutong/xiaolutong/system/setRemindPeople.html'
                })
            });
              $(".aprovalSystemTable").on("click",".change_this",function(){
            	   // =$(this).parent().siblings().child().find(".netName").text()
                     var str=$(this).parent().prev().find(".netName").html() 
                       swal({ 
                            title: "", 
                            text: "确定选择名字为("+str+")的系统吗？", 
                            type: "warning",
                            showCancelButton: true, 
                            confirmButtonColor: "#DD6B55",
                             confirmButtonText: "确定", 
                            closeOnConfirm: false
                        },
                        function(){
                          swal("成功", "", "success"); 
                        });
                   })
        		});
    </script>
</body>

</html>